// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import Vant from 'vant';
import 'vant/lib/index.css';
import '@/assets/css/common.css';  //公共css样式


Vue.use(Vant);


Vue.config.productionTip = false


//三种请求方式
import {ApiPost, ApiGet, ApiPut} from './config/userconf'
Vue.prototype.$httpPost = ApiPost;
Vue.prototype.$httpGet = ApiGet;
Vue.prototype.$httpPut = ApiPut;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
